package com.hgkj.cloud.base.dao;

import com.hgkj.cloud.base.domain.SysTableBrief;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface SysTableBriefMapper {
    int deleteByPrimaryKey(String uuid);

    int insert(SysTableBrief record);

    int insertSelective(SysTableBrief record);

    SysTableBrief selectByPrimaryKey(String uuid);

    int updateByPrimaryKeySelective(SysTableBrief record);

    int updateByPrimaryKey(SysTableBrief record);

    SysTableBrief getTableInfo(Map<String, Object> map);

    List<SysTableBrief> listTableTypes(Map<String, Object> map);

    SysTableBrief listAllTableByname(String tableName);

    List<SysTableBrief> listAllTables(Map<String, Object> map);

    Long findAllTablesCount(Map<String, Object> map);

    SysTableBrief findTableByUuid(String uuid);

    List<SysTableBrief> findTaskTables(Map<String, Object> map);

    Long findTaskTablesCount(Map<String, Object> map);

    List<SysTableBrief> findByChineseList();
    List<Map<String, Object>> findTableAllInfosByTableUuid(String TableUuid);
}